import 'package:aweb5/dioutil/DioRequestBuilder.dart';
import 'package:aweb5/dioutil/RequestCall.dart';

class PostBuilder extends DioRequestBuilder{
  @override
  PostBuilder addHeader(String key, String value) {
    // TODO: implement addHeader
    if (this.zHeader == null) {
      zHeader = new Map();
    }
    zHeader[key] = value;
    return this;
  }

  @override
  PostBuilder addParam(String key, String value) {
    // TODO: implement addParam
    if (zParams == null) {
      zParams = new  Map();
    }
    zParams[key] = value;
    return this;
  }

  @override
  PostBuilder header(Map<String, String> header) {
    // TODO: implement header
    this.zHeader = header;
    return this;
  }

  @override
  PostBuilder params(Map<String, String> params) {
    // TODO: implement params
    this.zParams = params;
    return this;
  }

  @override
  PostBuilder tag(Object object) {
    // TODO: implement tag
    this.zTag = object;
    return this;
  }

  @override
  PostBuilder url(String url) {
    // TODO: implement url
    this.zUrl = url;
    return this;
  }

  @override
  RequestCall build() {
    // TODO: implement build
    throw UnimplementedError();
  }


}